package com.bookmarket.service.impl;

import com.bookmarket.dao.HJHStageLoginAndRegMapper;
import com.bookmarket.entity.Custom;
import com.bookmarket.service.HJHStageLoginAndRegService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("/hJHStageLoginAndRegService")
public class HJHStageLoginAndRegServiceImpl implements HJHStageLoginAndRegService {

    @Resource
    private HJHStageLoginAndRegMapper hJHStageLoginAndRegMapper;

    //检查
    public Custom CheckName(Custom custom) {
        return hJHStageLoginAndRegMapper.CheckName(custom);
    }

    //登录
    public Custom CustomLogin(Custom custom){
        return hJHStageLoginAndRegMapper.CustomLogin(custom);
    }

    //注册
    public void CustomRegist(Custom custom){
        hJHStageLoginAndRegMapper.CustomRegist(custom);
    }
    public HJHStageLoginAndRegMapper gethJHStageLoginAndRegMapper() {
        return hJHStageLoginAndRegMapper;
    }

    public void sethJHStageLoginAndRegMapper(HJHStageLoginAndRegMapper hJHStageLoginAndRegMapper) {
        this.hJHStageLoginAndRegMapper = hJHStageLoginAndRegMapper;
    }
}